<template>
  <div class="error-page">
    <div class="error-content">
      <h1>404</h1>
      <h2>页面未找到</h2>
      <p>抱歉，您访问的页面不存在</p>
      <router-link to="/" class="back-home">返回首页</router-link>
    </div>
  </div>
</template>

<script lang="ts" setup>
// 组件逻辑
</script>

<style lang="scss" scoped>
.error-page {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #f5f7fa;

  .error-content {
    h1 {
      font-size: 120px;
      color: #409eff;
      margin-bottom: 16px;
      line-height: 1;
    }

    h2 {
      font-size: 24px;
      color: #303133;
      margin-bottom: 16px;
    }

    p {
      font-size: 16px;
      color: #606266;
      margin-bottom: 24px;
    }

    .back-home {
      display: inline-block;
      padding: 10px 20px;
      background-color: #409eff;
      color: #fff;
      border-radius: 4px;
      text-decoration: none;
      transition: background-color 0.3s;

      &:hover {
        background-color: #66b1ff;
      }
    }
  }
}
</style> 